package com.bolang.onlycode.demo.designPatterns.Strategy;

import java.math.BigDecimal;
import java.util.Collection;
import java.util.ListIterator;

public class IntermediateMember implements Member{
    @Override
    public BigDecimal calPrice(BigDecimal bookPrice) {
        System.out.println("对于中级会员的折扣为10%");
        return bookPrice.multiply(new BigDecimal("0.9"))  ;
    }



}
